package com.huibo.aigou.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import com.huibo.aigou.base.bo.AjaxResult;

@FeignClient(value="COMMON-SERVER")
@RequestMapping("/velocity")
public interface VelocityClient {
	
	@PostMapping("/write")
	public AjaxResult write(@RequestParam("templateFilePathAndName") String templateFilePathAndName,
			                @RequestParam("targetFilePathAndName") String targetFilePathAndName,
			                @RequestBody Object model);

}
